Repository navigation
Show the speculative algorithm and draft model each AgentX point ran / 显示各 AgentX 点位实际使用的投机解码算法与草稿模型 - #1660
Merged
Conversation
…t ran Ingest keeps spec_algorithm and spec_draft_model from InferenceX results, the tooltip shows them instead of the matrix label, and draft_model gets a readable label. db:backfill-spec-algorithm fills stored AgentX points from their server logs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Found 1 test failure on Blacksmith runners: Failure
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
The AgentX tooltip's Speculative Decoding line showed the matrix label, which says neither the algorithm nor the drafter.
mtpcovers EAGLE, NextN, MTP and built-in DSpark, anddraft_modelwas shown raw while covering both Muse Spark's separate DFlash drafter and DSV4.1-Flash's built-in DSpark on ATOM.spec_algorithmandspec_draft_modelfrom InferenceX results (Check spec-decoding labels and record what each point drafts with / 校验投机解码标签并记录各点位实际的草稿方式 InferenceX#4805) inmetrics.draft_modelnow reads "Draft Model".db:backfill-spec-algorithmfills stored AgentX points from their server logs: vLLM and ATOMSpeculativeConfig, SGLangserver_args, TensorRT-LLM's speculative config, and TileRTnum_mtp. Only a separately named drafter (DSpark, DFlash, EAGLE, NextN, MTP or draft) is reported as one; drafters loaded from local copies map back to their repos.The backfill has not been run. Against a read replica, all 4,735 speculative AgentX points parse; separate drafters found are
Inferact/Kimi-K3-DSpark,Inferact/MiniMax-M3-EAGLE3-GQAandRadixArk/Muse-Spark-Open-DFlash2, everything else is native.interpolation.test.tsfails locally on a checkout without this change too.AI model disclosure
PR checklist
inferencex-skillschanges/zhsiblingdocs/chinese-copy.md中文
AgentX 提示框中的投机解码一行此前显示矩阵标签,既看不出算法,也看不出草稿模型。
mtp涵盖 EAGLE、NextN、MTP 与内置 DSpark;draft_model则被原样显示,同时涵盖 Muse Spark 独立的 DFlash 草稿模型和 ATOM 上 DSV4.1-Flash 内置的 DSpark。spec_algorithm与spec_draft_model存入metrics。draft_model现显示为 “Draft Model”。db:backfill-spec-algorithm从服务端日志回填已存储的 AgentX 点位:vLLM 与 ATOM 的SpeculativeConfig、SGLang 的server_args、TensorRT-LLM 的投机解码配置以及 TileRT 的num_mtp。只有名称表明为独立草稿模型(DSpark、DFlash、EAGLE、NextN、MTP 或 draft)时才记为独立草稿模型;从本地副本加载的草稿模型会映射回其仓库。回填尚未执行。在只读副本上,全部 4,735 个投机解码 AgentX 点位均可解析;识别出的独立草稿模型为
Inferact/Kimi-K3-DSpark、Inferact/MiniMax-M3-EAGLE3-GQA和RadixArk/Muse-Spark-Open-DFlash2,其余均为原生。interpolation.test.ts在不含本改动的检出上同样本地失败。AI 模型使用说明:anthropic/claude-opus-5-5,负责设计改动、编写代码、测试与回填脚本,并在只读副本上完成试运行。
Note
Low Risk
Changes are ingest metadata, display labels, and an optional metrics backfill; no auth or API contract breaks beyond richer JSONB fields.
Overview
AgentX tooltips no longer rely on the coarse matrix label (
mtp,draft_model,none) alone for Speculative Decoding. Whenmetricscarryspec_algorithmandspec_draft_model(from InferenceX ingest), the UI shows strings like DFlash (RadixArk/Muse-Spark-Open-DFlash2) or DSpark (native); missing fields still use the old label path, anddraft_modelnow displays as Draft Model via framework labels.The pipeline threads the two fields through runtime metadata, the benchmark mapper allowlist, and
benchmark-transforminto chart/tooltip data. Documentation indata-pipeline.mdexplains the distinction between matrix labels and what the server actually ran.For historical AgentX points,
db:backfill-spec-algorithmparses stored server logs (vLLM/ATOMSpeculativeConfig, SGLang args, TensorRT-LLM, TileRTnum_mtp) viaserver-log-speculation.ts, merges results intobenchmark_results.metrics, and only reports a separate drafter when log paths/names indicate one (otherwisenative).Reviewed by Cursor Bugbot for commit 5bf58ff. Bugbot is set up for automated code reviews on this repo. Configure here.